package com.zmn.brs.common.model.dio;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiParam;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 类描述：员工操作记录信息
 *
 * @author xujie
 * @since 2021/03/24 10:49
 */

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "员工操作记录信息")
public class StaffOperateRecordDIO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiParam(value = "员工Id", required = true)
    @NotNull(message = "员工Id不能为空")
    private Integer staffId;

    @ApiParam(value = "事件编码", required = true)
    @NotNull(message = "事件编码不能为空")
    private Integer eventCode;

    @ApiParam(value = "员工ip", required = true)
    @NotNull(message = "员工ip不能为空")
    private String staffIp;
}
